//
//  BMPickerViewToolBar.h
//  bigmama
//
//  Created by huyuchen on 2017/8/9.
//  Copyright © 2017年 盛成文化. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BMPickerViewConfig.h"


typedef NS_ENUM(NSInteger,BMPickerViewToolBarStyle){
    BMPickerViewToolBarStyleText = 0, //取消文字
    BMPickerViewToolBarStyleIcon,     //取消图标
};

@interface BMPickerViewToolBar : UIView

//背景
@property (nonatomic, strong, readonly) UIImageView *topBarView;
//左边按钮
@property (nonatomic, strong, readonly) UIButton *barBtnLeft;
//右边按钮
@property (nonatomic, strong, readonly) UIButton *barBtnRight;
//中间标题
@property (nonatomic, strong, readonly) UILabel *barLblTitle;

- (instancetype)initWithToolbarText:(NSString *)toolBarText style:(BMPickerViewToolBarStyle)style cancelBlock:(BtnClickBlock)cancelBlock doneBlock:(BtnClickBlock)doneBlock;

@end
